﻿// ==================================================
// Copyright © 2016 杭州伯庸科技 版权所有
//
// 文 件 名：ProjectScheme
// 功能描述：
//
// 创建标识：Yu.Liang(俞 亮) 2017/11/10 11:12:55
//
// 修改标识：
// 修改描述：
// ==================================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Shine.SchemaManager
{
    [Serializable]
    public class 规划项目
    {
        [XmlElement("项目名称")]
        public string ProjectName { get; set; }

        [XmlElement("项目编号")]
        public string ProjectNum { get; set; }

        [XmlElement("立项时间")]
        public string StartDate { get; set; }

        [XmlElement("结项时间")]
        public string EndDate { get; set; }

        [XmlElement("项目类型")]
        public string Type { get; set; }

        [XmlElement("项目区域")]
        public string Zone { get; set; }

        [XmlElement("项目状态")]
        public string Status { get; set; }

        [XmlElement("经办科室")]
        public string Department { get; set; }

        [XmlElement("建设单位")]
        public string Designer { get; set; }

        [XmlElement("经办人")]
        public string Operator { get; set; }

        /// <summary>
        /// 对应udd存放路径
        /// </summary>
        [XmlElement("项目路径")]
        public string Path { get; set; }

        //[XmlArrayItem("子方案")]
        //[XmlArray("项目方案")]
        //public List<Item> items { get; set; }
    }

    [Serializable]
    public class Item
    {
        [XmlAttribute("方案名称")]
        public string SchemeName { get; set; }

        [XmlAttribute("图层名称")]
        public string LayerName { get; set; }
    }
}
